package com.zy.cat.entity.mall.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 应用Banner实体类
 * 
 * @author Link
 * @date 2019-02-26 10:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("应用Banner实体类")
public class CatBansResp implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2205935667844083600L;

	@ApiModelProperty(value = "Banner名称", example = "笔记本推广")
	private String bname;

	@ApiModelProperty(value = "Banner封面图", example = "https://")
	private String bicon;
	
	@ApiModelProperty(value = "Banner类型(0.H5游戏、1.H5广告 、2.商品列表、3.跳转APP、4.选品库)", example = "1")
	private int btype;
	
	@ApiModelProperty(value = "展示类型(0.轮播Banner(单一性)、1.图标Banner(圆形图)、2.静态Banner(组合型)、3.动态类型)", example = "0")
	private int stype;

	@ApiModelProperty(value = "商品列表物料ID", example = "10010")
	private String mid;
	
	@ApiModelProperty(value = "推广H5链接", example = "https://")
	private String links;
	
	@ApiModelProperty(value = "事件点击ID", example = "1")
	private String eventId;
	
	@ApiModelProperty(value = "性别，0.女、1.男", example = "1")
	@JsonIgnore
	private int sex;

	public CatBansResp(int sex) {
		super();
		this.sex = sex;
	}
	
}